﻿// JScript 文件
function cditem()
{
    this.copyfromcd = copyfromcd;

    this.entityno = 0;          //实体号
	this.devno = 0;		        //设备ID
	this.devtype = 0;			//设备类型
	this.colno = 0;			    //列号
	this.startport = 0;		    //起始端子号
	this.endport = 0;			//终止端子号
	this.cblbm = "";		    //缆线编码
	this.cbltype = 0;           //缆线类型
	this.startcblord = 0;		//起始线序
	this.endcblord = 0;		    //终止线序
    this.cdfx = 0;              //成端方向
}

//功能					拷贝信息
//pItem			IN		源数据
function copyfromcd(cditem)
{
    this.entityno = cditem.entityno;       
	this.devno = cditem.devno;		        
	this.devtype = cditem.devtype;			
	this.colno = cditem.colno;			    
	this.startport = cditem.startport;		
	this.endport = cditem.endport;			
	this.cblbm = cditem.cblbm;
	this.cbltype = cditem.cbltype;
	this.startcblord = cditem.startcblord;	
	this.endcblord = cditem.endcblord;		
    this.cdfx = cditem.cdfx;               
}
